import Mock from 'mockjs';
// 引入模板函数类
import ratings from './modules/ratings';
// 设置延时
Mock.setup({
  timeout: 400
});

// Mock函数
Mock.mock(/\/api\/ratings\/list/, 'post', ratings.list);
Mock.mock(/\/api\/ratings\/getname/, 'get', ratings.getname);
Mock.mock(/\/api\/ratings\/getLoginToken/, 'get', ratings.getLoginToken);
// Mock.mock(/\/api\/ratings\/getUserInfo/, 'get', ratings.getUserInfo);
